package com.ByteDance.model.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author 朱哥
 * @since 2024-02-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_infos")
@ApiModel(value="UserInfos对象", description="用户信息表")
public class UserInfos implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "用户密码")
    private String password;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "粉丝总数")
    private Integer followerCount;

    @ApiModelProperty(value = "关注总数")
    private Integer followCount;

    @ApiModelProperty(value = "用户个人页顶部大图")
    private String backgroundImage;

    @ApiModelProperty(value = "个人简介")
    private String signature;

    @ApiModelProperty(value = "个人获赞总数")
    private Integer totalFavorited;

    @ApiModelProperty(value = "作品数")
    private Integer workCount;

    @ApiModelProperty(value = "喜欢数")
    private Integer favoriteCount;
}
